package swu.cx.applyjurisdictiontest

import android.app.Activity
import android.app.Application

 class MyApp:Application() {
    private val activities = mutableListOf<Activity>()
     override fun onCreate() {
         super.onCreate()
     }
     fun addActivity(activity: Activity){
        activities.add(activity)
    }
     fun exitApp(){
        activities.forEach {
            it.finish()
        }
    }
}